package org.infodavid.common.model.impl;

import java.io.Serializable;

/**
 * The Class AbstractPart.
 */
@SuppressWarnings("serial")
public abstract class AbstractPart implements Serializable {

	/** The owner. */
	private final AbstractBasicDataObjectImpl owner;

	/**
	 * The Constructor.
	 * @param ownerArg the owner
	 */
	public AbstractPart(final AbstractBasicDataObjectImpl ownerArg) {
		if (ownerArg == null) {
			throw new IllegalArgumentException();
		}

		owner = ownerArg;
	}

	/**
	 * Gets the owner.
	 * @return the owner
	 */
	public AbstractBasicDataObjectImpl getOwner() {
		return owner;
	}
}
